//
//  YLDSyetemAuthorizationManager.h
//  Pods
//
//  Created by DonYau on 2017/7/25.
//
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger,YLDAuthorizationStatus) {
    YLDAuthorizationStatusNotDetermined = 0,
    YLDAuthorizationStatusRestricted = 1,
    YLDAuthorizationStatusDenied = 2,
    YLDAuthorizationStatusAuthorized = 3,
};

typedef NS_ENUM(NSUInteger,YLDAuthorizationType) {
    YLDAuthorizationTypePhotoLibrary = 0,
    YLDAuthorizationTypeCamera = 1,
};

@interface YLDSyetemAuthorizationManager : NSObject

+ (void)authorizationStatusWithAuthorizationType:(YLDAuthorizationType)authorizationType withAuthorizationStatusBlock:(void (^)(YLDAuthorizationStatus status))authStatusBlock;

@end
